\hypertarget{api_8h}{
\section{api.h文件参考}
\label{api_8h}\index{api.h@{api.h}}
}


EasyIO-\/GPRS 接口文件.  


{\ttfamily \#include \char`\"{}api\_\-type.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}api\_\-result.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}init.h\char`\"{}}\par
\subsection*{组合类型}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structeasyio__api}{easyio\_\-api}
\end{DoxyCompactItemize}
\subsection*{宏定义}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{api_8h_afabb8cdc9450ec537c0bee641a9fda90}{EI\_\-MALLOC}~rt\_\-malloc
\item 
\#define \hyperlink{api_8h_a0044eb38af0014e6521a14a72d05a2f5}{EI\_\-FREE}~rt\_\-free
\item 
\#define \hyperlink{api_8h_a99e9891b3f22938094c443a813bbf12d}{EI\_\-SLEEP}~rt\_\-thread\_\-sleep
\item 
\#define \hyperlink{api_8h_a2a9524bec0f80b9e02d3c2b5606a85a6}{EI\_\-DEBUG}~rt\_\-kprintf
\end{DoxyCompactItemize}
\subsection*{类型定义}
\begin{DoxyCompactItemize}
\item 
\hypertarget{api_8h_a7abbfe6b3a979a10df453473cb8b3d0d}{
typedef struct \hyperlink{structeasyio__api}{easyio\_\-api} {\bfseries EASYIO\_\-API}}
\label{api_8h_a7abbfe6b3a979a10df453473cb8b3d0d}

\end{DoxyCompactItemize}
\subsection*{函数}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{api_8h_af6cd41759d0f0973557039899173ffce}{Startup} (void)
\end{DoxyCompactItemize}
\subsection*{变量}
\begin{DoxyCompactItemize}
\item 
\hypertarget{api_8h_a1c348fc12b2cbf0aa32f5fc8d730b46c}{
\hyperlink{structeasyio__api}{EASYIO\_\-API} {\bfseries api}}
\label{api_8h_a1c348fc12b2cbf0aa32f5fc8d730b46c}

\end{DoxyCompactItemize}


\subsection{详细描述}
EasyIO-\/GPRS 接口文件. 使用EasyIO Framework 需要引入此头文件，此文件包含了所有功能和方法的API函数和系统的钩子函数 \begin{DoxyAuthor}{作者}
stopfan 
\end{DoxyAuthor}
\begin{DoxyDate}{日期}
2013-\/11-\/11 
\end{DoxyDate}
\begin{DoxyVersion}{版本}
A001 
\end{DoxyVersion}
\begin{DoxyParagraph}{Copyright (c): }
新动力科技 
\end{DoxyParagraph}
\begin{DoxyParagraph}{History: }
version: stopfan, 2013-\/12-\/12, desc\par
 
\end{DoxyParagraph}


\subsection{宏定义文档}
\hypertarget{api_8h_a2a9524bec0f80b9e02d3c2b5606a85a6}{
\index{api.h@{api.h}!EI\_\-DEBUG@{EI\_\-DEBUG}}
\index{EI\_\-DEBUG@{EI\_\-DEBUG}!api.h@{api.h}}
\subsubsection[{EI\_\-DEBUG}]{\setlength{\rightskip}{0pt plus 5cm}\#define EI\_\-DEBUG~rt\_\-kprintf}}
\label{api_8h_a2a9524bec0f80b9e02d3c2b5606a85a6}
Dbug \hypertarget{api_8h_a0044eb38af0014e6521a14a72d05a2f5}{
\index{api.h@{api.h}!EI\_\-FREE@{EI\_\-FREE}}
\index{EI\_\-FREE@{EI\_\-FREE}!api.h@{api.h}}
\subsubsection[{EI\_\-FREE}]{\setlength{\rightskip}{0pt plus 5cm}\#define EI\_\-FREE~rt\_\-free}}
\label{api_8h_a0044eb38af0014e6521a14a72d05a2f5}
定义 EI\_\-FREE \hypertarget{api_8h_afabb8cdc9450ec537c0bee641a9fda90}{
\index{api.h@{api.h}!EI\_\-MALLOC@{EI\_\-MALLOC}}
\index{EI\_\-MALLOC@{EI\_\-MALLOC}!api.h@{api.h}}
\subsubsection[{EI\_\-MALLOC}]{\setlength{\rightskip}{0pt plus 5cm}\#define EI\_\-MALLOC~rt\_\-malloc}}
\label{api_8h_afabb8cdc9450ec537c0bee641a9fda90}
定义 EI\_\-MALLOC \hypertarget{api_8h_a99e9891b3f22938094c443a813bbf12d}{
\index{api.h@{api.h}!EI\_\-SLEEP@{EI\_\-SLEEP}}
\index{EI\_\-SLEEP@{EI\_\-SLEEP}!api.h@{api.h}}
\subsubsection[{EI\_\-SLEEP}]{\setlength{\rightskip}{0pt plus 5cm}\#define EI\_\-SLEEP~rt\_\-thread\_\-sleep}}
\label{api_8h_a99e9891b3f22938094c443a813bbf12d}
定义 EI\_\-SLEEP 

\subsection{函数文档}
\hypertarget{api_8h_af6cd41759d0f0973557039899173ffce}{
\index{api.h@{api.h}!Startup@{Startup}}
\index{Startup@{Startup}!api.h@{api.h}}
\subsubsection[{Startup}]{\setlength{\rightskip}{0pt plus 5cm}void Startup (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{api_8h_af6cd41759d0f0973557039899173ffce}
启动函数，EasyIO 启动时将调用此函数,系统相关的初始化和回调函数注册需要在这里进行。

\begin{DoxyReturn}{返回}

\end{DoxyReturn}
